package com.ruoyi.wb.service;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.wb.domain.WbMasterEnter;

import java.util.List;

/**
 * 师傅入驻Service接口
 * 
 * @author ruoyi
 * @date 2024-10-14
 */
public interface IWbMasterEnterService 
{
    /**
     * 查询师傅入驻
     * 
     * @param id 师傅入驻主键
     * @return 师傅入驻
     */
    public WbMasterEnter selectWbMasterEnterById(Long id);

    /**
     * 查询师傅入驻
     *
     * @param userId 师傅id
     * @return 师傅入驻
     */
    public WbMasterEnter selectWbMasterEnterByUserId(Long userId);


    /**
     * 查询师傅入驻列表
     * 
     * @param wbMasterEnter 师傅入驻
     * @return 师傅入驻集合
     */
    public List<WbMasterEnter> selectWbMasterEnterList(WbMasterEnter wbMasterEnter);

    /**
     * 新增师傅入驻
     * 
     * @param wbMasterEnter 师傅入驻
     * @return 结果
     */
    public int insertWbMasterEnter(WbMasterEnter wbMasterEnter);

    /**
     * 修改师傅入驻
     * 
     * @param wbMasterEnter 师傅入驻
     * @return 结果
     */
    public int updateWbMasterEnter(WbMasterEnter wbMasterEnter);

    /**
     * 批量删除师傅入驻
     * 
     * @param ids 需要删除的师傅入驻主键集合
     * @return 结果
     */
    public int deleteWbMasterEnterByIds(Long[] ids);

    /**
     * 删除师傅入驻信息
     * 
     * @param id 师傅入驻主键
     * @return 结果
     */
    public int deleteWbMasterEnterById(Long id);

    /**
     * 审核师傅入驻
     *
     * @param id 师傅入驻主键
     * @return 结果
     */
    int auditWbMasterEnter(Long id);


    WbMasterEnter byUser();

    AjaxResult acquiringMaster();
}
